#!/bin/bash
control_c()
{
killall ingest.sh
exit

}


# trap keyboard interrupt (control-c)

trap control_c SIGINT
year=$2
month=$1
for i in $(seq -w 24)
	do
		for d in $(seq -w 31)
			do
		
			bash sys_resources/ingest.sh $i $d $1 $2&
			wait;
		
			done	
	done
